package test.context;

import jasmine.framework.context.CurrentSubject;
import jasmine.framework.test.constant.TestConstants;
import jasmine.framework.test.context.AppTestContext;
import jasmine.mock.framework.cache.RedisMockUtil;
import org.junit.Before;
import test.constant.AppTestConstants;

/**
 * @author mh.z
 */
public class AppFrameworkTestContext extends AppTestContext {

    @Before
    @Override
    public void initOrResetBeforeTest() {
        super.initOrResetBeforeTest();

        CurrentSubject.setSubject(AppTestConstants.DEFAULT_TENANT_ID,
                TestConstants.TEST_USER_ID_UNKNOWN);
    }

}
